import Vue from "vue";
import Router from "vue-router";
import menuModule from "../store/modules/menu";
Vue.use(Router);

export default new Router({
  base: "/",
  mode: "hash",
  linkActiveClass: "is-active",
  scrollBehavior: () => ({ y: 0 }),
  routes: [
    {
      name: "in",
      path: "/",
      component: () => import("./In.vue"),
      meta: {
        link: "In.vue",
        show: false
      }
    },
    {
      name: "in",
      path: "/in",
      component: () => import("./In.vue"),
      meta: {
        link: "In.vue",
        show: false
      }
    },
    {
      name: "up",
      path: "/up",
      component: () => import("./Up.vue"),
      meta: {
        link: "Up.vue",
        show: false
      }
    }
  ]
});
